package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      运营用户登录日志实体类
 * </desc>
 *
 * @createDate
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ItlTables("user_login_log")
public class UserLoginLogPO extends BasePO implements Serializable{
    @ItlField("account")
    private String account;             //账号
    @ItlField("real_name")
    private String realName;                //姓名
    @ItlField("ip")
    private String ip;                  //登录ip
    @ItlField("system_type")
    private Integer systemType;          //系统类型 1运营 2物业 3IOS 4安卓 对应枚举类SystemTypeEnum
    @ItlField("description")
    private String description;          //描述   对应枚举类UserLoginDescEnum


    public UserLoginLogPO(String account,String realName,String ip){
        this.account = account;
        this.realName = realName;
        this.ip = ip;
    }


}
